var UI_ctrl = require("UI_ctrl");
var UI_manager = require("UI_manager");
var sound_mgr = require("sound_mgr");
cc.Class({
	extends: UI_ctrl,

	properties: {
	},

	onLoad() {
		UI_ctrl.prototype.onLoad.call(this);

		console.log("=======LoginUI_ctrl onLoad=========",this.view);
		this.add_button_listen("btn_login",this,this.on_start_click)

	},

	start() {
	},

	on_start_click() {
		sound_mgr.Instance.play_effect("sounds/sfx_collect");
		console.log("=======LoginUI_ctrl on_start_click=========");
		
	},

});